package cc.chengheng.java代码测试.循环依赖的例子2;

import org.springframework.stereotype.Component;

@Component
public class ServiceBB {

    private ServiceAA serviceA;

    public void setServiceA(ServiceAA serviceA) {
        this.serviceA = serviceA;
        System.out.println("B 里面设置了 A");
    }
}
